﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;

namespace SDSystem.Models
{
    public class TrustRegionMeta
    {
        [ScaffoldColumn(false)]
        public int TrustRegionId { get; set; }

        [StringLength(255, ErrorMessage = "TrustRegion Name must contain least 5 characters", MinimumLength = 5)]
        [Required(ErrorMessage = "TrustRegionName is required")]
        public string TrustRegionName { get; set; }

        [Required(ErrorMessage = "CountryId is required")]
        public int CountryId { get; set; }


    }
}
